package com.mofeng.myshop.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mofeng.myshop.domain.po.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目
 * </p>
 *
 * @author MoFeng
 * @since 2024-04-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_project")
@Schema(name="Project对象", description="项目")
public class Project extends BaseEntity {

    @Schema(description= "图片路径")
    @TableField(value = "`image`")
    private String image;

    @Schema(description= "项目分类，区别调用什么表")
    @TableField(value = "`type`")
    private String type;

    @Schema(description= "小图标")
    private String iconImage;

    @Schema(description= "是否展示 0 展示 1 不展示 注意，不展示意思是前端将不会显示此分类")
    @TableField(value = "`show`")
    private String show;

    @Schema(description= "是否打开 0打开 1 关闭  注意，关闭意思是无法访问，但会显示禁止访问提示")
    @TableField(value = "`open`")
    private String open;

    @Schema(description= "steam直连链接")
    @TableField(value = "`link`")
    private String link;
}
